Name Property (Recipient Object) 

The Name property specifies the name of this Recipient_SDVUS object. Read/write.

Syntax

objRecipient.Name

Data Type

String

Remarks

The Name property corresponds to the MAPI property PR_DISPLAY_NAME.

The Name property is the default property of a Recipient object, meaning that Recipient is syntactically equivalent to Recipient.Name in Visual Basic code.

Example

' from the sample function Util_CompareFullAddressParts()

Dim strMsg As String

    ' validate objects... then display

    strMsg = "Recipient full address = " & objOneRecip.Address

    strMsg = strMsg & "; AddressEntry type = " & objAddrEntry.Type

    strMsg = strMsg & "; AddressEntry address = " & objAddrEntry.Address

    MsgBox strMsg    ' compare address parts

    strMsg = "Recipient name = " & objOneRecip.Name

    strMsg = strMsg & "; AddressEntry name = " & objAddrEntry.Name

    MsgBox strMsg    ' compare display names (should be same)